package com.kyyc.luff.auth.mapper;

import com.kyyc.luff.auth.model.SysUser;
import com.kyyc.luff.core.model.BaseModel;

import java.util.List;

/**
 * 公共接口
 */
public interface PublicMapper {

    SysUser getUserByName(String name);

    List<BaseModel> getRoleByUserId(Long userId);
}
